<?php

namespace app\health\model\healthPro;

use think\Model;

class Interests extends Model
{
    protected $name = 'interests';

    protected $connection = 'database.pajk';


    protected $type = [
        'type' => 'integer',
    ];

    public function tvProduct()
    {
        return $this->hasOne(TvProduct::class, 'product_code', 'product_code');
    }
}
